package com.whfc.ms.api.emp.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.whfc.common.result.PageData;
import com.whfc.common.util.PageUtil;
import com.whfc.emp.dto.AppExamPaperDTO;
import com.whfc.emp.dto.AppTrainingCategoryDTO;
import com.whfc.emp.dto.AppTrainingDTO;
import com.whfc.emp.param.*;
import com.whfc.emp.service.AppExamPaperService;
import com.whfc.emp.service.AppTrainingService;
import com.whfc.ms.api.emp.service.MsExamPaperService;
import com.whfc.ms.api.emp.service.MsTrainingService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * @ClasssName MsTrainServiceImpl
 * @Description 人员管理-考试
 * @Author hw
 * @Date 2020/11/26 17:24
 * @Version 1.0
 */
@Service
public class MsExamPaperServiceImpl implements MsExamPaperService {

    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    @DubboReference(interfaceClass = AppExamPaperService.class, version = "1.0.0", timeout = 5000)
    private AppExamPaperService appExamPaperService;

    @Override
    public PageData<AppExamPaperDTO> list(AppExamPaperListParam request) {
        return appExamPaperService.list(request);
    }

    @Override
    public void add(AppExamPaperAddParam request) {
        appExamPaperService.add(request);
    }

    @Override
    public void edit(AppExamPaperEditParam request) {
        appExamPaperService.edit(request);
    }

    @Override
    public void del(Integer id) {
        appExamPaperService.del(id);
    }


}
